<!DOCTYPE html>
<html lang="en">
<head><meta name="generator" content="Hexo 3.9.0">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="David的博客 |  David&#39;s Blog">
    <meta name="keyword" content="程序员小冰 David&#39;s Blog">
    <link rel="shortcut icon" href="/img/favicon.ico">

    <title>
        
        【Eclipse】Eclipse Windows版本常用快捷键整理 - David 的博客 | David&#39;s Blog
        
    </title>

    <!-- Custom CSS -->
    <link rel="stylesheet" href="/css/aircloud.css">
    <link rel="stylesheet" href="/css/gitment.css">
    <!--<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">-->
    <link href="//at.alicdn.com/t/font_620856_pl6z7sid89qkt9.css" rel="stylesheet" type="text/css">
    <!-- ga & ba script hoook -->
    <script></script>
</head>

<body>

<div class="site-nav-toggle" id="site-nav-toggle">
    <button>
        <span class="btn-bar"></span>
        <span class="btn-bar"></span>
        <span class="btn-bar"></span>
    </button>
</div>

<div class="index-about">
    <i> David Blog </i>
</div>

<div class="index-container">
    
    <div class="index-left">
        
<div class="nav" id="nav">
    <div class="avatar-name">
        <div class="avatar radius">
            <img src="/img/avatar.jpg" />
        </div>
        <div class="name">
            <i>David</i>
        </div>
    </div>
    <div class="contents" id="nav-content">
        <ul>
            <li >
                <a href="/">
                    <i class="iconfont icon-shouye1"></i>
                    <span>主页</span>
                </a>
            </li>
            <li >
                <a href="/tags">
                    <i class="iconfont icon-biaoqian1"></i>
                    <span>标签</span>
                </a>
            </li>
            <li >
                <a href="/archives">
                    <i class="iconfont icon-guidang2"></i>
                    <span>存档</span>
                </a>
            </li>
            <li >
                <a href="/about/">
                    <i class="iconfont icon-guanyu2"></i>
                    <span>关于</span>
                </a>
            </li>
            
            <li>
                <a id="search">
                    <i class="iconfont icon-sousuo1"></i>
                    <span>搜索</span>
                </a>
            </li>
            
        </ul>
    </div>
    
        <div id="toc" class="toc-article">
    <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#也可以设置IDEA快捷键为Eclipse风格"><span class="toc-text">也可以设置IDEA快捷键为Eclipse风格</span></a></li></ol>
</div>
    
</div>


<div class="search-field" id="search-field">
    <div class="search-container">
        <div class="search-input">
            <span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
            <input id="search-input"/>
            <span id="begin-search">搜索</span>
        </div>
        <div class="search-result-container" id="search-result-container">

        </div>
    </div>
</div>

        <div class="index-about-mobile">
            <i> David Blog </i>
        </div>
    </div>
    
    <div class="index-middle">
        <!-- Main Content -->
        


<div class="post-container">
    <div class="post-title">
        【Eclipse】Eclipse Windows版本常用快捷键整理
    </div>

    <div class="post-meta">
        <span class="attr">发布于：<span>2015-08-08 11:11:11</span></span>
        
        <span class="attr">标签：/
        
        <a class="tag" href="/tags/#Eclipse" title="Eclipse">Eclipse</a>
        <span>/</span>
        
        
        </span>
        <span class="attr">访问：<span id="busuanzi_value_page_pv"></span>
</span>
</span>
    </div>
    <div class="post-content ">
        <h1 id="也可以设置IDEA快捷键为Eclipse风格"><a href="#也可以设置IDEA快捷键为Eclipse风格" class="headerlink" title="也可以设置IDEA快捷键为Eclipse风格"></a>也可以设置IDEA快捷键为Eclipse风格</h1><ul>
<li>点击File-&gt;Settings-&gt;Keymap，选择快捷键风格为Eclipse</li>
<li>按如下表格中的英文描述进行搜索，并改为相应快捷键</li>
</ul>
<table>
<thead>
<tr>
<th>Eclipse</th>
<th>IDEA</th>
<th>英文描述</th>
<th>中文描述</th>
</tr>
</thead>
<tbody><tr>
<td>ctrl+shift+r</td>
<td>ctrl+shift+r</td>
<td>Navigate-&gt;File</td>
<td>找工作空间的文件</td>
</tr>
<tr>
<td>ctrl+shift+t</td>
<td>ctrl+shift+t</td>
<td>Navigate-&gt;Class</td>
<td>找类定义</td>
</tr>
<tr>
<td>ctrl+shift+g</td>
<td>ctrl+shift+g</td>
<td>Edit-&gt;Find-&gt;Find Usages</td>
<td>查找方法在哪里调用.变量在哪里被使用</td>
</tr>
<tr>
<td>ctrl+t</td>
<td>ctrl+t</td>
<td>Other-&gt;Hierarchy Class</td>
<td>看类继承结构</td>
</tr>
<tr>
<td>ctrl+o</td>
<td>ctrl+o</td>
<td>Navigate-&gt;File Structure</td>
<td>搜索一个类里面的方法</td>
</tr>
<tr>
<td>shift+alt+z</td>
<td>shift+alt+z</td>
<td>Code-&gt;Surround With</td>
<td>生成常见的代码块</td>
</tr>
<tr>
<td>shift+alt+l</td>
<td>shift+alt+l</td>
<td>Refactor-&gt;Extract-&gt;Variable</td>
<td>抽取变量</td>
</tr>
<tr>
<td>shift+alt+m</td>
<td>shift+alt+m</td>
<td>Refactor-&gt;Extract-&gt;Method</td>
<td>抽取方法</td>
</tr>
<tr>
<td>alt+left</td>
<td>alt+left</td>
<td>Navigate-&gt;Back</td>
<td>回退上一个操作位置</td>
</tr>
<tr>
<td>alt+right</td>
<td>alt+right</td>
<td>Navigate-&gt;Forward</td>
<td>前进上一个操作位置</td>
</tr>
<tr>
<td>ctrl+home</td>
<td>ctrl+home</td>
<td>Move Caret to Text Start</td>
<td>回到类最前面</td>
</tr>
<tr>
<td>ctrl+end</td>
<td>ctrl+end</td>
<td>Move Caret to Text End</td>
<td>回到类最后面</td>
</tr>
<tr>
<td>ctrl+2 L</td>
<td>shift+alt+l</td>
<td>Refactor-&gt;Extract-&gt;Variable</td>
<td>抽取变量</td>
</tr>
<tr>
<td>ctrl+e</td>
<td>alt+r</td>
<td>View-&gt;Recent Files</td>
<td>最近打开的文件</td>
</tr>
<tr>
<td>ctrl+w</td>
<td>ctrl+w</td>
<td>Close</td>
<td>关闭当前窗口</td>
</tr>
<tr>
<td>alt+/</td>
<td>alt+/</td>
<td>Code-&gt;Completion-&gt;Basic</td>
<td>提示变量生成</td>
</tr>
<tr>
<td>ctrl+1</td>
<td>ctrl+1</td>
<td>Other-&gt;Show Intention Actions</td>
<td>提示可能的操作</td>
</tr>
<tr>
<td>ctrl+h</td>
<td>ctrl+h</td>
<td>Find in Path</td>
<td>全局搜索</td>
</tr>
<tr>
<td>alt+上/下箭头</td>
<td>alt+上/下箭头</td>
<td>Code-&gt;Move Line Up/Down</td>
<td>移动一行代码</td>
</tr>
<tr>
<td>ctrl+alt+上/下箭头</td>
<td>ctrl+alt+上/下箭头</td>
<td>Editor Actions-&gt;Duplicate Lines</td>
<td>复制一行</td>
</tr>
<tr>
<td>ctrl+shift+j</td>
<td>ctrl+shift+j</td>
<td>Other-&gt;Fix doc comment</td>
<td>方法注释</td>
</tr>
<tr>
<td>暂无</td>
<td>alt+enter</td>
<td>Other-&gt;Show Intention Actions</td>
<td>提示常见操作</td>
</tr>
<tr>
<td>Ctrl+F</td>
<td>Ctrl+F/Ctrl+R</td>
<td>Find/Replace</td>
<td>查找替换</td>
</tr>
<tr>
<td>Shift+Enter</td>
<td>Shift+Enter</td>
<td>Start New Line</td>
<td>开启新的一行</td>
</tr>
<tr>
<td>Ctrl+Alt+S</td>
<td>Ctrl+Alt+S</td>
<td>Generate</td>
<td>生成getter,setter,tostring等</td>
</tr>
</tbody></table>

        
            <div class="donate-container">
    <div class="donate-button">
        <button id="donate-button">赞赏</button>
    </div>
    <div class="donate-img-container hide" id="donate-img-container">
        <img id="donate-img" src="" data-src="/img/donate.jpg">
        <p> 感谢鼓励 </p>
    </div>
</div>
        
        <br />
        <div id="comment-container">
        </div>
        <div id="disqus_thread"></div>

        <div id="lv-container">
        </div>

    </div>
</div>

    </div>
</div>


<footer class="footer">
    <ul class="list-inline text-center">
        
        <li>
            <a target="_blank" href="https://twitter.com/qq986945193">
                            <span class="fa-stack fa-lg">
                                <i class="iconfont icon-twitter"></i>
                            </span>
            </a>
        </li>
        
        
        <li>
            <a target="_blank" href="https://www.zhihu.com/people/mcxiaobing">
                            <span class="fa-stack fa-lg">
                                 <i class="iconfont icon-zhihu"></i>
                            </span>
            </a>
        </li>
        

        
        <li>
            <a target="_blank" href="http://weibo.com/mcxiaobing">
                            <span class="fa-stack fa-lg">
                                  <i class="iconfont icon-weibo"></i>
                            </span>
            </a>
        </li>
        

        
        <li>
            <a target="_blank" href="https://www.facebook.com/qq986945193">
                            <span class="fa-stack fa-lg">
                                <i class="iconfont icon-facebook"></i>
                            </span>
            </a>
        </li>
        

        
        <li>
            <a target="_blank"  href="https://github.com/qq986945193">
                            <span class="fa-stack fa-lg">
                                <i class="iconfont icon-github"></i>
                            </span>
            </a>
        </li>
        

        

    </ul>
    
    <p>
        <span>/</span>
        
        <span><a href="https://segmentfault.com/u/mcxiaobing">思否</a></span>
        <span>/</span>
        
        <span><a href="https://juejin.im/user/57edcdb2a0bb9f0058ed8ed9">掘金</a></span>
        <span>/</span>
        
        <span><a href="https://www.jianshu.com/u/4e2015c5a972">简书</a></span>
        <span>/</span>
        
        <span><a href="https://gitee.com/mcxiaobing">码云</a></span>
        <span>/</span>
        
    </p>
    
    <p>
        <span id="busuanzi_container_site_pv">
            <span id="busuanzi_value_site_pv"></span>PV
        </span>
        <span id="busuanzi_container_site_uv">
            <span id="busuanzi_value_site_uv"></span>UV
        </span>
        Created By <a href="https://hexo.io/">Hexo</a>  Theme <a href="https://github.com/aircloud/hexo-theme-aircloud">AirCloud</a></p>
</footer>




</body>

<script>
    // We expose some of the variables needed by the front end
    window.hexo_search_path = "search.json"
    window.hexo_root = "/"
    window.isPost = true
</script>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="/js/index.js"></script>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>




</html>
